
const deviceAdd = () => import('@/views/device/deviceAdd.vue')
const deviceEdit = () => import('@/views/device/edit.vue')
const deviceDetali = () => import('@/views/device/deviceDetali.vue')
const deviceGoods = () => import('@/views/device/deviceGoods.vue')
const goodsAdd = () => import('@/views/commodity/add.vue')
const orderEdit = () => import('@/views/order/orderEdit.vue')

export const chuildren = [
    {
        path: '/addDevice',
        name: 'addDevice',
        component: deviceAdd,
        meat: {
            title: '添加设备'
        }
    },
    {
        path: '/deviceEdit',
        name: 'deviceEdit',
        component: deviceEdit,
        meat: {
            title: '设备编辑'
        }
    },
    {
        path: '/deviceDetali',
        name: 'deviceDetali',
        component: deviceDetali,
        meat: {
            title: '设备详情'
        }
    },
    {
        path: '/deviceGoods',
        name: 'deviceGoods',
        component: deviceGoods,
        meat: {
            title: '售货机商品'
        }
    },
    {
        path: '/goodsAdd',
        name: 'goodsAdd',
        component: goodsAdd,
        meat: {
            title: '商品的添加'
        }
    },
    {
        path: '/orderEdit',
        name: 'orderEdit',
        component: orderEdit,
        meat: {
            title: '订单详情'
        }
    },
    // {
    //     component: Layout,
    //     children: [
    //         {
    //             path: '/roleSystem',
    //             name: 'roleSystem',
    //             component: roleSystem,
    //             meat: {
    //                 title: '查看权限'
    //             }
    //         }
    //     ]
    // },
]